package com.medord.machine.core;

/**流程状态参数，对ContextUtil的操作
 * 对外隐藏细节，只暴露给子类可用的方法
 * @author 孙丰佳
 * @version V1.0
 * @Title: FlowParameter
 * @Package com.medord.machine.core
 * @Description: (用一句话描述该文件做什么)
 * @date 2021-11-18 16:53
 **/
public class FlowParameter implements IFlowProcessParameter {
    @Override
    public void putInnerPara(Object key, Object value) {
        FlowContextUtil.putInnerPara(key, value);
    }

    @Override
    public Object getInnerPara(Object key) {
        return FlowContextUtil.getInnerPara(key);
    }

    @Override
    public Object getOuterPara(Object key) {
        return FlowContextUtil.getOuterPara(key);
    }

    @Override
    public void addWarningMsg(String msg) {
        FlowContextUtil.addWarningMsg(msg);
    }
}
